﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="1002-1.aspx.cs" Inherits="_1002_1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="Get_messagefile_AllData"
        TypeName="CCH.DAO.messagefileDAO">
        <SelectParameters>
            <asp:Parameter Name="mes_no" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <table class="webpath">
        <tr>
            <td style='vertical-align: middle'>
                <img src="images/photo/home.gif">
            </td>
            <td style='vertical-align: middle'>
                <a href="index.aspx"><% Response.Write("首頁".ConverToCN());%></a>
            </td>
            <td style='vertical-align: middle'>
                <img src="images/photo/icon.gif">
            </td>
            <td style='vertical-align: middle'>
                <asp:HyperLink ID="HyperLink1" runat="server"></asp:HyperLink>
            </td>
        </tr>
    </table>
    <div class="lastnews">
        <div id="maincol_head" class="lastnewshead">
            <asp:Label ID="lab_typeName" runat="server" Text=""></asp:Label><div class='maincol_head_date'>
                <asp:Label ID="lab_date" runat="server" Text=""></asp:Label></div>
        </div>
        <div id="lastnewsbody" class="innel_body">
            <div class="lastnewsbody_title">
                <asp:Label ID="lab_title" runat="server" Text=""></asp:Label>
            </div>
            <div>
                <asp:Label ID="lab_content" runat="server" Text=""></asp:Label>
            </div>
            <br class="clr" />
            <div class="file_dl">
                <% Response.Write("相關檔案下載：".ConverToCN());%>
                <asp:ListView ID="ListView1" runat="server" DataSourceID="ObjectDataSource1">
                <EmptyDataTemplate>
                    <p>
                        <span id="sp_DATA"><% Response.Write("無相關檔案".ConverToCN());%></span></p>
                </EmptyDataTemplate>
                <ItemTemplate>
                           <li> <span><a target="_blank" href='messageFile.ashx?file_no=<%#Eval("file_no") %>'><%#Eval("file_name").ConverToCN() %></a></span></li> 
                </ItemTemplate>
            </asp:ListView>
            </div>
        </div>
    </div>
</asp:Content>

